<%@taglib uri="/WEB-INF/struts-bean.tld"  prefix="bean"%>
<script language="JavaScript">
    function validate_form(){
        if ( document.MataPelajaranForm.kode.value == "" ){
            alert ( "<bean:message key="mapel.kode"/> "+isEmpty );
        }else if ( document.MataPelajaranForm.nama.value == "" ){
            alert ( "<bean:message key="mapel.nama"/> "+isEmpty );
        }else {
            document.MataPelajaranForm.submit();
        }
    }
</script>


